package com.atguigu.spzx.manager.service;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.Category;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-07-20:49
 */
public interface CategoryService {

    List<Category> findByPid(Long pid);

    void importCates(MultipartFile excel);

    void deleteById(Long id);

    Category getByCategoryId(Long id);

    void updateById(Category category);

    void exportCates(HttpServletResponse response);
}
